package com.allenkerr.mapper;

import com.allenkerr.model.Person;
import com.allenkerr.util.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.6.18 23:36.
 */
public interface PersonMapper extends BaseMapper<Person> {

    //List<Person> selectByNameLike(String name); --错误

    List<Person> selectByNameLike(@Param("name") String name);

}
